package com.download.web.service;

import com.download.backstage.entity.User;
import com.download.web.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.download.web.entity.model.Page;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cmy
 * @since 2019-02-20
 */
public interface ISysUserService extends IService<SysUser> {

    Page<User> userPage(Integer pageIndex, Integer pageSize);

    public SysUser login(String email,String pwd);

    public  Integer register(SysUser user);

    void updateUserName(String userName,Integer id);

    void updateUserImg(String headImg,Integer id);

    void updatePwd(String pwd,Integer id);
}
